<div class="al-modal-view">
  <div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" ng-click="cancel()">
      <span aria-hidden="true" class="glyphicon glyphicon-remove"></span>
      <span class="sr-only">Close</span>
    </button>
    <h4 class="modal-title ok-color">{{modalTitle}}</h4>
  </div>
  <div class="modal-body">
    <ng-form name="modalForm" class="form-horizontal form-validation" role="form">
      <div class="form-group">
        <label class="col-sm-2 control-label">订单号</label>
        <div class="col-sm-10">
          <div class="form-control info-text">{{data.orderNo}}</div>
        </div>
      </div>
      <div class="form-group">
        <label class="col-sm-2 control-label">公寓</label>
        <div class="col-sm-4">
          <div class="form-control info-text">{{data.apartmentName}}</div>
        </div>
        <label class="col-sm-2 control-label">房间号</label>
        <div class="col-sm-4">
          <div class="form-control info-text">{{data.houseNo}}</div>
        </div>
      </div>
      <div class="form-group">
        <label class="col-sm-2 control-label">客户姓名</label>
        <div class="col-sm-4">
          <div class="form-control info-text">{{data.customerName}}</div>
        </div>
        <label class="col-sm-2 control-label">客户手机</label>
        <div class="col-sm-4">
          <div class="form-control info-text">{{data.customerPhone}}</div>
        </div>
      </div>
      <div class="form-group">
        <label class="col-sm-2 control-label">商品名称</label>
        <div class="col-sm-4">
          <div class="form-control info-text">{{data.goodsName}}</div>
        </div>
        <label class="col-sm-2 control-label">价格</label>
        <div class="col-sm-4">
          <div ng-if="data.type!=2" class="form-control info-text">￥{{data.payMoney}}元</div>
          <div ng-if="data.type==2" class="form-control info-text">{{data.score}}积分</div>
        </div>
      </div>
      <div class="form-group">
        <label class="col-sm-2 control-label">下单时间</label>
        <div class="col-sm-4">
          <div class="form-control info-text">{{data.createTime|dateTransfer:'YYYY-MM-DD HH:mm'}}</div>
        </div>
        <label class="col-sm-2 control-label">付款时间</label>
        <div class="col-sm-4">
          <div class="form-control info-text">{{data.createTime|dateTransfer:'YYYY-MM-DD HH:mm'}}</div>
        </div>
      </div>
      <div class="form-group" ng-if="data.type==1">
        <label class="col-sm-2 control-label">租期</label>
        <div class="col-sm-4">
          <div class="form-control info-text">{{data.description}}</div>
        </div>
      </div>
      <div class="form-group" ng-if="data.type==1">
        <label class="col-sm-2 control-label">起租日期</label>
        <div class="col-sm-4">
          <div class="form-control info-text">{{data.serviceTime|dateTransfer:'YYYY-MM-DD'}}</div>
        </div>
        <label class="col-sm-2 control-label">结束日期</label>
        <div class="col-sm-4">
          <div class="form-control info-text">{{data.serviceEnd|dateTransfer:'YYYY-MM-DD'}}</div>
        </div>
      </div>
      <div class="form-group">
        <label class="col-sm-2 control-label">客户备注</label>
        <div class="col-sm-10">
          <textarea class="form-control" readonly ng-model="data.customerRemark" cols="5"></textarea>
        </div>
      </div>
      <div class="form-group">
        <label class="col-sm-2 control-label">状态</label>
        <div class="col-sm-4">
          <div class="form-control info-text">{{data.statusName}}</div>
        </div>
        <label class="col-sm-2 control-label" ng-if="data.type==3">服务时间</label>
        <div class="col-sm-4" ng-if="data.type==3">
          <div class="form-control info-text">{{data.serviceTime|dateTransfer:'YYYY-MM-DD HH:mm'}}</div>
        </div>

      </div>
      <div class="form-group">
        <label class="col-sm-2 control-label">客服反馈</label>
        <div class="col-sm-10">
          <textarea class="form-control" readonly ng-model="data.remark" cols="5"></textarea>
        </div>
      </div>


    </ng-form>
  </div>
  <div class="modal-footer">
    <button class="btn btn-warning no-border" type="button" ng-click="cancel()">返回</button>
  </div>
</div>